package org.platform.executor.diagnose;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd41016.QueryDiagnoseTaskRequestParam;
import org.platform.mo.csmo.cmd41016.QueryTaskDiagnoseResponseParam;
import org.platform.service.diagnose.DiagnoseTaskServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author FengJie
 * @date 2018/8/22
 */
@Service
public class QueryTaskListExecutor implements IMicProviderServiceExecutor<QueryDiagnoseTaskRequestParam, QueryTaskDiagnoseResponseParam> {
    @Autowired
    private DiagnoseTaskServiceImpl service;

    @Override
    public QueryTaskDiagnoseResponseParam doExecute(QueryDiagnoseTaskRequestParam requestParam) {
        return service.queryTaskList(requestParam);
    }

}
